package org.vic.decorator;

/**
 * 抽象装饰器父类
 * Created by VIC.Huang on 2016/8/29.
 */
public abstract class Decorator implements Component {
    protected Component component;

    public Decorator(Component component) {
        super();
        this.component = component;
    }

    public void method() {
        component.method();
    }
}
